//:C06:6.4 while2.c 
#include <stdio.h>

int main(void)
{
    int n = 0;
    while(n++ < 3)
    {
        printf("n is %d\n", n);
        printf("That's all this program does.\n");
    }
}